
package com.kugou.game.sdk.entity;

import java.util.ArrayList;

import com.kugou.framework.base.IEntity;

/**
 * 描述:代金券实体类
 *
 * @author jamywang
 * @since 2016年5月13日 上午11:33:01
 */
public class Coupon implements IEntity {
    private static final long serialVersionUID = 1L;

    public final static int COUPON_STATUS_LOCK = 1;

    public final static int COUPON_STATUS_NORMAL = 0;

    /** 代金券ID */
    private int id;

    /** 图标地址 */
    private String iconUrl;

    /** 代金券名称 */
    private String couponName;

    /** 代金券平台 0:所有,1:Android,2:IOS */
    private int platform;

    /** 代金券截止时间 */
    private long endtime;

    /** 代金券获取时间 */
    private long addtime;

    /** 代金券状态 2:已使用,10:已过期 */
    private int status;

    /** 代金券类型 */
    private int type;

    /** 优惠金额 */
    private int money;

    /** 优惠所需金额 */
    private int moneyLimit;

    /** 适用游戏 */
    private ArrayList<String> games;

    /** 冻结时间 */
    private long lockTime;

    /** 冻结状态 1：锁定、0：不锁定 */
    private int lockStatus;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getIconUrl() {
        return iconUrl;
    }

    public void setIconUrl(String iconUrl) {
        this.iconUrl = iconUrl;
    }

    public String getCouponName() {
        return couponName;
    }

    public void setCouponName(String couponName) {
        this.couponName = couponName;
    }

    public int getPlatform() {
        return platform;
    }

    public void setPlatform(int platform) {
        this.platform = platform;
    }

    public long getEndtime() {
        return endtime;
    }

    public void setEndtime(long endtime) {
        this.endtime = endtime;
    }

    public long getAddtime() {
        return addtime;
    }

    public void setAddtime(long addtime) {
        this.addtime = addtime;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getMoney() {
        return money;
    }

    public void setMoney(int money) {
        this.money = money;
    }

    public int getMoneyLimit() {
        return moneyLimit;
    }

    public void setMoneyLimit(int moneyLimit) {
        this.moneyLimit = moneyLimit;
    }

    public ArrayList<String> getGames() {
        return games;
    }

    public void setGames(ArrayList<String> games) {
        this.games = games;
    }

    public long getLockTime() {
        return lockTime;
    }

    public void setLockTime(long lockTime) {
        this.lockTime = lockTime;
    }

    public int getLockStatus() {
        return lockStatus;
    }

    public void setLockStatus(int lockState) {
        this.lockStatus = lockState;
    }

}
